#!/bin/bash
# until-loop.sh        until 循环

END_CONDITION=end
until [ "$var1" = "$END_CONDITION" ]
do
    echo "Input variable #1"
    echo "($END_CONDITION to exit)"
    read var1
    echo "variable #1 = $var1"
    echo
done
exit 0

